console.log("aaa");
let a = 10;
// 保证只有一个module.extports = {任意类型}；
const fn = function(){
    console.log("a.js里的fn");
}

class Person{
    constructor(name,age){
        this.name = name;
        this.age = age;
    }
    myfn(){
        console.log("a.js里myfn");
    }
}

module.exports = {
    a,
    fn,
    Person
}